package com.bub.pay.core.entity.vo.user;

import com.alibaba.fastjson.JSON;
import com.bub.pay.framework.common.base.BaseVo;

import java.util.List;

/**
 * 管理员表
 * 修改员工
 */
public class UpdateSysUserVo extends BaseVo {
    private Long userId;//用户Id
    private String realName;//名字
    private String nickName; //昵称
    private String email;//电子邮件
    private Integer state;//状态(1：启用 2：停用 ）
    private String phone; //电话
    private List<Long> roleList;//角色id
    private String userBindIp;//多个ip用;分隔

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<Long> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Long> roleList) {
        this.roleList = roleList;
    }

    public String getUserBindIp() {
        return userBindIp;
    }

    public void setUserBindIp(String userBindIp) {
        this.userBindIp = userBindIp;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
